package com.lpl.util;

public class local {
//    创建一个ThreadLocal对象
    private static  ThreadLocal THEs =new ThreadLocal();

//    获取数据
    public static <T> T get(){
        return  (T) THEs.get();
    };

//添加数据
    public  static  void set(Object vlaue){
        THEs.set(vlaue);
    };
//    清除数据
    public  static void remove(){
        THEs.remove();
    }
}

